/*
 * @Author: 余文童
 * @Date: 2020-08-10 10:53:10
 * @LastEditTime: 2020-08-13 01:30:58
 * @LastEditors: Please set LastEditors
 * @Description: 用户服务类，提供服务功能
 * @FilePath: \BackEnd\saleflower\src\main\java\com\wangwang\saleflower\service\OrderService.java
 */
package com.wangwang.saleflower.service;

import java.util.List;
import java.util.Map;

import com.wangwang.saleflower.entity.Order;

public interface OrderService {
    public List<Order> getAllOrders(int userNum);

    public void removeOrders(Long[] listIds);

    public void addOrder(Order order);

    public List<Map<String, Object>> selectOrderAndProduct(Integer id);

    public boolean isOrderExist(Long id);
}
